
#pragma once


namespace __OCF_PROXY__ 
{


using namespace __OCF_BASE__;

template <class NC>
class CUserToGw
{
	typedef TYPE_LIST07(BYTE,BYTE*,USHORT,char,char*,int,int*) _OCF_PROXYSTUB_TYPELIST_T;
	enum __ENUM_PROXYSTUB_FUNCTION_TYPE__
	{
		__ENUM_FUNCTION_TYPE_fnCheckAuth__ = 1,

	};
	typedef NC _N_CLI_T;
public:
	CUserToGw(_N_CLI_T* pcNc, ULONG ulLenBuff, void* pBuff)
		:m_pcNc(pcNc)
		,m_ulLen(ulLenBuff)
		,m_pBuff(pBuff)
	{
	}
	virtual ~CUserToGw()
	{
	}
	CUserToGw& operator =(const CUserToGw& cFrom)
	{
		m_pcNc = cFrom.m_pcNc;
		m_ulLen = cFrom.m_ulLen;
		m_pBuff = cFrom.m_pBuff;

		return *this;
	}
	long fnCheckAuth(ULONG _Cnt_6489E36B_FE72_4444_A8F1_25651607C29D_, ULONG _aul_Bind_2EE5D0E9_E447_4b0a_A4A4_E3651F6B6465_[], ULONG _aul_Identity_36A0FC71_7800_4156_B52D_A299FDEB5A25_[], BYTE _by_ServiceType_9A356872_9AD9_4769_8A6A_F8A4CE471567_, int nLenTicket,char * pszTicket)
	{
		COut<_OCF_PROXYSTUB_TYPELIST_T> cTmpOut(m_ulLen, m_pBuff);

		if (FALSE == cTmpOut.Push(static_cast<USHORT>(1)).Push(nLenTicket,pszTicket).IsValid()) return -1;

		return m_pcNc->Send(_Cnt_6489E36B_FE72_4444_A8F1_25651607C29D_, _aul_Bind_2EE5D0E9_E447_4b0a_A4A4_E3651F6B6465_, _aul_Identity_36A0FC71_7800_4156_B52D_A299FDEB5A25_, _by_ServiceType_9A356872_9AD9_4769_8A6A_F8A4CE471567_, cTmpOut.GetDataLength(), cTmpOut.GetStartDataPtr());
	}
private:
	ULONG m_ulLen;
	void* m_pBuff;
	_N_CLI_T* m_pcNc;
};

}
#pragma once


namespace __OCF_PROXY__ 
{


using namespace __OCF_BASE__;

template <class NC>
class CGwToLogin
{
	typedef TYPE_LIST07(BYTE,BYTE*,USHORT,char,char*,int,int*) _OCF_PROXYSTUB_TYPELIST_T;
	enum __ENUM_PROXYSTUB_FUNCTION_TYPE__
	{
		__ENUM_FUNCTION_TYPE_fnCheckAuth__ = 10,

	};
	typedef NC _N_CLI_T;
public:
	CGwToLogin(_N_CLI_T* pcNc, ULONG ulLenBuff, void* pBuff)
		:m_pcNc(pcNc)
		,m_ulLen(ulLenBuff)
		,m_pBuff(pBuff)
	{
	}
	virtual ~CGwToLogin()
	{
	}
	CGwToLogin& operator =(const CGwToLogin& cFrom)
	{
		m_pcNc = cFrom.m_pcNc;
		m_ulLen = cFrom.m_ulLen;
		m_pBuff = cFrom.m_pBuff;

		return *this;
	}
	long fnCheckAuth(ULONG _Cnt_6489E36B_FE72_4444_A8F1_25651607C29D_, ULONG _aul_Bind_2EE5D0E9_E447_4b0a_A4A4_E3651F6B6465_[], ULONG _aul_Identity_36A0FC71_7800_4156_B52D_A299FDEB5A25_[], BYTE _by_ServiceType_9A356872_9AD9_4769_8A6A_F8A4CE471567_, int nLenTicket,char * pszTicket)
	{
		COut<_OCF_PROXYSTUB_TYPELIST_T> cTmpOut(m_ulLen, m_pBuff);

		if (FALSE == cTmpOut.Push(static_cast<USHORT>(10)).Push(nLenTicket,pszTicket).IsValid()) return -1;

		return m_pcNc->Send(_Cnt_6489E36B_FE72_4444_A8F1_25651607C29D_, _aul_Bind_2EE5D0E9_E447_4b0a_A4A4_E3651F6B6465_, _aul_Identity_36A0FC71_7800_4156_B52D_A299FDEB5A25_, _by_ServiceType_9A356872_9AD9_4769_8A6A_F8A4CE471567_, cTmpOut.GetDataLength(), cTmpOut.GetStartDataPtr());
	}
private:
	ULONG m_ulLen;
	void* m_pBuff;
	_N_CLI_T* m_pcNc;
};

}
#pragma once


namespace __OCF_PROXY__ 
{


using namespace __OCF_BASE__;

template <class NC>
class CLoginToGw
{
	typedef TYPE_LIST07(BYTE,BYTE*,USHORT,char,char*,int,int*) _OCF_PROXYSTUB_TYPELIST_T;
	enum __ENUM_PROXYSTUB_FUNCTION_TYPE__
	{
		__ENUM_FUNCTION_TYPE_fnResultCheckAuth__ = 20,

	};
	typedef NC _N_CLI_T;
public:
	CLoginToGw(_N_CLI_T* pcNc, ULONG ulLenBuff, void* pBuff)
		:m_pcNc(pcNc)
		,m_ulLen(ulLenBuff)
		,m_pBuff(pBuff)
	{
	}
	virtual ~CLoginToGw()
	{
	}
	CLoginToGw& operator =(const CLoginToGw& cFrom)
	{
		m_pcNc = cFrom.m_pcNc;
		m_ulLen = cFrom.m_ulLen;
		m_pBuff = cFrom.m_pBuff;

		return *this;
	}
	long fnResultCheckAuth(ULONG _Cnt_6489E36B_FE72_4444_A8F1_25651607C29D_, ULONG _aul_Bind_2EE5D0E9_E447_4b0a_A4A4_E3651F6B6465_[], ULONG _aul_Identity_36A0FC71_7800_4156_B52D_A299FDEB5A25_[], BYTE _by_ServiceType_9A356872_9AD9_4769_8A6A_F8A4CE471567_, BYTE byRes)
	{
		COut<_OCF_PROXYSTUB_TYPELIST_T> cTmpOut(m_ulLen, m_pBuff);

		if (FALSE == cTmpOut.Push(static_cast<USHORT>(20)).Push(byRes).IsValid()) return -1;

		return m_pcNc->Send(_Cnt_6489E36B_FE72_4444_A8F1_25651607C29D_, _aul_Bind_2EE5D0E9_E447_4b0a_A4A4_E3651F6B6465_, _aul_Identity_36A0FC71_7800_4156_B52D_A299FDEB5A25_, _by_ServiceType_9A356872_9AD9_4769_8A6A_F8A4CE471567_, cTmpOut.GetDataLength(), cTmpOut.GetStartDataPtr());
	}
private:
	ULONG m_ulLen;
	void* m_pBuff;
	_N_CLI_T* m_pcNc;
};

}
#pragma once


namespace __OCF_PROXY__ 
{


using namespace __OCF_BASE__;

template <class NC>
class CGwToUser
{
	typedef TYPE_LIST07(BYTE,BYTE*,USHORT,char,char*,int,int*) _OCF_PROXYSTUB_TYPELIST_T;
	enum __ENUM_PROXYSTUB_FUNCTION_TYPE__
	{
		__ENUM_FUNCTION_TYPE_fnResultCheckAuth__ = 30,

	};
	typedef NC _N_CLI_T;
public:
	CGwToUser(_N_CLI_T* pcNc, ULONG ulLenBuff, void* pBuff)
		:m_pcNc(pcNc)
		,m_ulLen(ulLenBuff)
		,m_pBuff(pBuff)
	{
	}
	virtual ~CGwToUser()
	{
	}
	CGwToUser& operator =(const CGwToUser& cFrom)
	{
		m_pcNc = cFrom.m_pcNc;
		m_ulLen = cFrom.m_ulLen;
		m_pBuff = cFrom.m_pBuff;

		return *this;
	}
	long fnResultCheckAuth(ULONG _Cnt_6489E36B_FE72_4444_A8F1_25651607C29D_, ULONG _aul_Bind_2EE5D0E9_E447_4b0a_A4A4_E3651F6B6465_[], ULONG _aul_Identity_36A0FC71_7800_4156_B52D_A299FDEB5A25_[], BYTE _by_ServiceType_9A356872_9AD9_4769_8A6A_F8A4CE471567_, BYTE byRes)
	{
		COut<_OCF_PROXYSTUB_TYPELIST_T> cTmpOut(m_ulLen, m_pBuff);

		if (FALSE == cTmpOut.Push(static_cast<USHORT>(30)).Push(byRes).IsValid()) return -1;

		return m_pcNc->Send(_Cnt_6489E36B_FE72_4444_A8F1_25651607C29D_, _aul_Bind_2EE5D0E9_E447_4b0a_A4A4_E3651F6B6465_, _aul_Identity_36A0FC71_7800_4156_B52D_A299FDEB5A25_, _by_ServiceType_9A356872_9AD9_4769_8A6A_F8A4CE471567_, cTmpOut.GetDataLength(), cTmpOut.GetStartDataPtr());
	}
private:
	ULONG m_ulLen;
	void* m_pBuff;
	_N_CLI_T* m_pcNc;
};

}